class Admin::RepliesController< Admin::ApplicationController

  layout 'admin'
  def index
    @replies = current_user.refresh_replies
    @all_tweets_count = 0
  end
  def create
    render_json do
      current_user.reply.add(params[:reply], params[:uid], params[:wid])
    end
  end
end